package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.domain.ShoppingCart;
import java.util.List;

public interface ShoppingCartService extends IService<ShoppingCart> {


     /**
     * 添加购物车 数据
     * @param shoppingCart
     */
     public ShoppingCart add(ShoppingCart shoppingCart);

     /**
      * 修改购物车  菜品或套餐 数量
      * @param shoppingCart
      */
     public ShoppingCart delete(ShoppingCart shoppingCart);

     /**
      * 清空购物车
      * @return
      */
     public R<String> clean();

}
